<template>

  <RouterView></RouterView>

</template>


<script setup>
import ipstore from './store/ipinfo'
const { queryIpInfo } = ipstore();

import userstore from './store/user'
const { update } = userstore();

console.log('应用启动');

queryIpInfo();
update((islogin) => {
  console.log('用户登陆状态',islogin)
}
);
</script>
    
<style setup>

  body {
    margin: 0;
  }
</style>